package com.healthcloud.service;

import com.healthcloud.entity.HlDoctorEntity;
import com.healthcloud.entity.HospDrAsso;
import com.healthcloud.entity.SysUserEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;
import java.util.Map;

/**
 * 医生信息表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2017-08-28 16:38:36
 */
public interface HlDoctorService {
	
	HlDoctorEntity queryObject(Long id);

	HlDoctorEntity  queryByUserId(Long userId);
	
    List<HlDoctorEntity> queryList(HlDoctorEntity bean, PageParam pageParam);
	
	int queryTotal(HlDoctorEntity bean);
	
	void save(HlDoctorEntity hlDoctor);
	
	void update(HlDoctorEntity hlDoctor);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

    void register(SysUserEntity user, HlDoctorEntity doctor, Map<Long, List<Long>> map);

	List<HospDrAsso> getHospDrAsso(HospDrAsso entity);

	void update(SysUserEntity user, HlDoctorEntity doctor, Map<Long, List<Long>> map);
}
